<ion-view view-title="素材子分类">
  <div class="no-data" ng-show="subcategories === undefined || subcategories.length <= 0">
    o(╯□╰)o 没有数据
  </div>
  <ion-content style="background-color: white;">
    <!--  素材子分类  -->
    <div class="flex-wrap-container">
      <div ng-repeat="item in subcategories"
           class="flex-wrap-item-2 sub-category-item"
           align="center"
           style="background:url({{toAbsoluteUrl(item.thumb_image)}}) no-repeat center;-webkit-background-size: cover;background-size: cover;"
           ui-sref="materiallist({subcategory_id:item.id})">
        <div class="sub-category-item-txt">{{item.name}}</div>
      </div>
    </div>
  </ion-content>
</ion-view>
